import { post } from "../../util/http"

/**
 * 新增
 * @param  params 
 */
export const InsertHandle = params => post(`/order/insert`, params)

/**
 * 更新
 * @param  params 
 */
export const UpdateHandle = params => post(`/order/update`, params)

/**
 * 分页列表
 * @param  params 
 */
export const SelectPage = params => post(`/order/selectPage`, params)

/**
 * 已完结分页列表
 * @param  params 
 */
export const SelectPageFinish = params => post(`/order/finish/selectPage`, params)

/**
 * 列表
 * @param  params 
 */
export const SelectList = params => post(`/order/item/selectList`, params)

/**
 * 删除
 * @param  params 
 */
export const DeleteHandle = params => post(`/order/delete`, params)